using MediatR;
using WMS.Domain.Entities.SystemUser;
using WMS.ErrorCode;

namespace WMS.API.Application.Command.SystemUser
{
    /// <summary>
    /// 查询财务明细命令
    /// </summary>
    public class GetFinancialdetailsQuery : IRequest<APIResult<APIPaging<Financialdetails>>>
    {
        /// <summary>
        /// 当前页码
        /// </summary>
        public int CurrentPage { get; set; } = 1;

        /// <summary>
        /// 每页大小
        /// </summary>
        public int PageSize { get; set; } = 10;

        /// <summary>
        /// 搜索字段
        /// </summary>
        public string? SearchField { get; set; }

        /// <summary>
        /// 搜索值
        /// </summary>
        public string? SearchValue { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }
    }
}
